package com.warren.biz.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author warren
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_health")
@ApiModel(value="Health对象", description="")
public class Health implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "id号")
    private Long userId;

    @ApiModelProperty(value = "目前健康状况")
    private Integer situation;

    @ApiModelProperty(value = "是否有接触过")
    private Integer touch;

    @ApiModelProperty(value = "是否有停留过")
    private Integer passby;

    @ApiModelProperty(value = "是否有接待过")
    private Integer reception;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
